package org.jeecg.modules.charge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.charge.entity.VoucherHead;

import java.util.List;

/**
 * @Description: 电子凭证头部
 * @Author: jeecg-boot
 * @Date:   2019-08-15
 * @Version: V1.0
 */
public interface ChargeVoucherHeadMapper extends BaseMapper<VoucherHead> {
    //插入凭证
    public void  insertSelective(VoucherHead voucherHead);

    //查询凭证头部
    public VoucherHead getVoucherHead(String headId);

    public List<VoucherHead> getVoucherHeadList(@Param("voucherStatus") Integer voucherStatus);
}
